\(\int \frac {\arcsin (a x)}{x^2} \, dx\) [7]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [C] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 8, antiderivative size = 28 \[ \int \frac {\arcsin (a x)}{x^2} \, dx=-\frac {\arcsin (a x)}{x}-a \text {arctanh}\left (\sqrt {1-a^2 x^2}\right ) \]

[Out]

-arcsin(a*x)/x-a*arctanh((-a^2*x^2+1)^(1/2))

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {4723, 272, 65, 214} \[ \int \frac {\arcsin (a x)}{x^2} \, dx=-a \text {arctanh}\left (\sqrt {1-a^2 x^2}\right )-\frac {\arcsin (a x)}{x} \]

[In]

Int[ArcSin[a*x]/x^2,x]

[Out]

-(ArcSin[a*x]/x) - a*ArcTanh[Sqrt[1 - a^2*x^2]]

Rule 65

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 214

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 4723

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(d*x)^(m + 1)*((a + b*ArcSi
n[c*x])^n/(d*(m + 1))), x] - Dist[b*c*(n/(d*(m + 1))), Int[(d*x)^(m + 1)*((a + b*ArcSin[c*x])^(n - 1)/Sqrt[1 -
 c^2*x^2]), x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0] && NeQ[m, -1]

Rubi steps \begin{align*} \text {integral}& = -\frac {\arcsin (a x)}{x}+a \int \frac {1}{x \sqrt {1-a^2 x^2}} \, dx \\ & = -\frac {\arcsin (a x)}{x}+\frac {1}{2} a \text {Subst}\left (\int \frac {1}{x \sqrt {1-a^2 x}} \, dx,x,x^2\right ) \\ & = -\frac {\arcsin (a x)}{x}-\frac {\text {Subst}\left (\int \frac {1}{\frac {1}{a^2}-\frac {x^2}{a^2}} \, dx,x,\sqrt {1-a^2 x^2}\right )}{a} \\ & = -\frac {\arcsin (a x)}{x}-a \text {arctanh}\left (\sqrt {1-a^2 x^2}\right ) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.01 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.00 \[ \int \frac {\arcsin (a x)}{x^2} \, dx=-\frac {\arcsin (a x)}{x}-a \text {arctanh}\left (\sqrt {1-a^2 x^2}\right ) \]

[In]

Integrate[ArcSin[a*x]/x^2,x]

[Out]

-(ArcSin[a*x]/x) - a*ArcTanh[Sqrt[1 - a^2*x^2]]

Maple [A] (verified)

Time = 0.01 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.96

method result size
parts \(-\frac {\arcsin \left (a x \right )}{x}-a \,\operatorname {arctanh}\left (\frac {1}{\sqrt {-a^{2} x^{2}+1}}\right )\) \(27\)
derivativedivides \(a \left (-\frac {\arcsin \left (a x \right )}{a x}-\operatorname {arctanh}\left (\frac {1}{\sqrt {-a^{2} x^{2}+1}}\right )\right )\) \(31\)
default \(a \left (-\frac {\arcsin \left (a x \right )}{a x}-\operatorname {arctanh}\left (\frac {1}{\sqrt {-a^{2} x^{2}+1}}\right )\right )\) \(31\)

[In]

int(arcsin(a*x)/x^2,x,method=_RETURNVERBOSE)

[Out]

-arcsin(a*x)/x-a*arctanh(1/(-a^2*x^2+1)^(1/2))

Fricas [A] (verification not implemented)

none

Time = 0.28 (sec) , antiderivative size = 49, normalized size of antiderivative = 1.75 \[ \int \frac {\arcsin (a x)}{x^2} \, dx=-\frac {a x \log \left (\sqrt {-a^{2} x^{2} + 1} + 1\right ) - a x \log \left (\sqrt {-a^{2} x^{2} + 1} - 1\right ) + 2 \, \arcsin \left (a x\right )}{2 \, x} \]

[In]

integrate(arcsin(a*x)/x^2,x, algorithm="fricas")

[Out]

-1/2*(a*x*log(sqrt(-a^2*x^2 + 1) + 1) - a*x*log(sqrt(-a^2*x^2 + 1) - 1) + 2*arcsin(a*x))/x

Sympy [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 0.82 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.14 \[ \int \frac {\arcsin (a x)}{x^2} \, dx=a \left (\begin {cases} - \operatorname {acosh}{\left (\frac {1}{a x} \right )} & \text {for}\: \frac {1}{\left |{a^{2} x^{2}}\right |} > 1 \\i \operatorname {asin}{\left (\frac {1}{a x} \right )} & \text {otherwise} \end {cases}\right ) - \frac {\operatorname {asin}{\left (a x \right )}}{x} \]

[In]

integrate(asin(a*x)/x**2,x)

[Out]

a*Piecewise((-acosh(1/(a*x)), 1/Abs(a**2*x**2) > 1), (I*asin(1/(a*x)), True)) - asin(a*x)/x

Maxima [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 39, normalized size of antiderivative = 1.39 \[ \int \frac {\arcsin (a x)}{x^2} \, dx=-a \log \left (\frac {2 \, \sqrt {-a^{2} x^{2} + 1}}{{\left | x \right |}} + \frac {2}{{\left | x \right |}}\right ) - \frac {\arcsin \left (a x\right )}{x} \]

[In]

integrate(arcsin(a*x)/x^2,x, algorithm="maxima")

[Out]

-a*log(2*sqrt(-a^2*x^2 + 1)/abs(x) + 2/abs(x)) - arcsin(a*x)/x

Giac [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 48, normalized size of antiderivative = 1.71 \[ \int \frac {\arcsin (a x)}{x^2} \, dx=-\frac {1}{2} \, a {\left (\log \left (\sqrt {-a^{2} x^{2} + 1} + 1\right ) - \log \left (-\sqrt {-a^{2} x^{2} + 1} + 1\right )\right )} - \frac {\arcsin \left (a x\right )}{x} \]

[In]

integrate(arcsin(a*x)/x^2,x, algorithm="giac")

[Out]

-1/2*a*(log(sqrt(-a^2*x^2 + 1) + 1) - log(-sqrt(-a^2*x^2 + 1) + 1)) - arcsin(a*x)/x

Mupad [B] (verification not implemented)

Time = 0.01 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.93 \[ \int \frac {\arcsin (a x)}{x^2} \, dx=-\frac {\mathrm {asin}\left (a\,x\right )}{x}-a\,\mathrm {atanh}\left (\frac {1}{\sqrt {1-a^2\,x^2}}\right ) \]

[In]

int(asin(a*x)/x^2,x)

[Out]

- asin(a*x)/x - a*atanh(1/(1 - a^2*x^2)^(1/2))